-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: multi hop agent #1
Conversation
")\n", | ||
"\n", | ||
"# Create the Cohere chat model\n", | ||
"chat = ChatCohere(cohere_api_key=\"API_KEY\", model=\"command-r\")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will also need to pass raw_prompting=True through to the api
|
||
|
||
def render_tool_description(tool: BaseTool) -> str: | ||
"""Render the tool name and description. TODO: better way to render?""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure the best way to handle tool descriptions for generic langchain tools. This currently misses out on input+output argument types and descriptions
Replaced by billytrend-cohere#5 |
…chain into beatrix/MultiHopAgent
Thank you for contributing to LangChain!
PR title: "package: description"
PR message: Delete this entire checklist and replace with
Add tests and docs: If you're adding a new integration, please include
docs/docs/integrations
directory.Lint and test: Run
make format
,make lint
andmake test
from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/Additional guidelines:
If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.